<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.js"></script>
</head>
<body>
<div id="app">
    <button @click="type=1">电影</button>
    <button @click="type=2">列表</button>
    <button @click="type=3">主页</button>
    <div v-if="type===1">电影...</div>
    <div v-else-if="type===2">列表...</div>
    <div v-else>主页...</div>
</div>
<script>
    Vue.config.productionTip = false
    const vm = new Vue({
        el: '#app',
        data() {
            return {
              type:1
            }
        }
    })
</script>
</body>
</html>